Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruff f821 fix in byte.py #681

Closed
wants to merge 3,238 commits into from
Closed

Conversation

evelynmitchell
Copy link
Contributor

@evelynmitchell evelynmitchell commented Dec 17, 2024

ruff had an F821 error in byte.py complaining about magic, which wasn't imported.
As this file is manipulating byte files of different varieties, if you want to do that, this patch should enable that.

The fix is to import python-magic, and magic in byte.py.

Another approach would be to remove mention of the magic file check in byte.py at line 577, 684


📚 Documentation preview 📚: https://swarms--681.org.readthedocs.build/en/681/

Your Name and others added 30 commits September 17, 2024 11:53
Updates the requirements on [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) to permit the latest version.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](facelessuser/pymdown-extensions@10.9...10.10.1)

---
updated-dependencies:
- dependency-name: pymdown-extensions
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
…-0.5.1-and-lt-0.6.8

Update ruff requirement from >=0.5.1,<0.6.4 to >=0.5.1,<0.6.8
…extensions-approx-eq-10.10

Update pymdown-extensions requirement from ~=10.9 to ~=10.10
Updates the requirements on [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) to permit the latest version.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](facelessuser/pymdown-extensions@10.10...10.11.1)

---
updated-dependencies:
- dependency-name: pymdown-extensions
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Occupying-Mars and others added 27 commits December 1, 2024 00:35
Bumps [autofix-ci/action](https://github.com/autofix-ci/action) from dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a to ff86a557419858bb967097bfc916833f5647fa8c.
- [Release notes](https://github.com/autofix-ci/action/releases)
- [Commits](autofix-ci/action@dd55f44...ff86a55)

---
updated-dependencies:
- dependency-name: autofix-ci/action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
…ns/autofix-ci/action-ff86a557419858bb967097bfc916833f5647fa8c

Bump autofix-ci/action from dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a to ff86a557419858bb967097bfc916833f5647fa8c
…-0.5.1-and-lt-0.8.2

Update ruff requirement from >=0.5.1,<0.7.4 to >=0.5.1,<0.8.2
This requires adding an import, python-magic. I don't know what byte.py is for, or whether you want this fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants